package com.tzb.shirospringbootjsp.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @Description TODO
 * @Author tzb
 * @Date 2021/8/28 23:54
 * @Version 1.0
 **/
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {

    private static final long serialVersionUID = -1235560232613732798L;
    private String id;

    private String username;

    private String password;

    private String salt;

    private List<Role> roles;


}
